#pragma once

#include "Common.h"

#define KDATA_LEN	100

class CTick2KData
{
public:
	CTick2KData(void);
	~CTick2KData(void);
public:
	KData m_DayKDatas[KDATA_LEN];
	int m_nDayIdx;
	int m_nCurDate;
	virtual int StockPrice(TickDat& dat);
	int nCurPrice;
	KData m_WeekKDatas[KDATA_LEN];
	int m_nWeekIdx;
	KData m_MonthKDatas[KDATA_LEN];
	int m_nMonthIdx;
	int m_nWeekStartDate;
	int m_nCurMonth;
	KData *m_pKDatas;
	int *m_pIdx;
};

